Adding missing gtk-doc annotations.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 8 Jan 2011 09:46:46 +0000 (18:46 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 8 Jan 2011 09:46:46 +0000 (18:46 +0900)
GtkProgressBar:show-text, GtkScrolledWindow:min-content-width/height
are new properties in 3.0.

gtk/gtkprogressbar.c
gtk/gtkscrolledwindow.c

index 1abad28147b1183e669e78656cc01f6a9349fa1b..3cc366c6a22506ea0a2007c7f3bd08b2ec5e1039 100644 (file)
@@ -179,6 +179,16 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
                                                         NULL,
                                                         GTK_PARAM_READWRITE));
 
+  /**
+   * GtkProgressBar:show_text:
+   *
+   * Sets whether the progressbar will show text superimposed
+   * over the bar. The shown text is either the value of
+   * the #GtkProgressBar::text property or, if that is %NULL,
+   * the #GtkProgressBar::fraction value, as a percentage.
+   *
+   * Since: 3.0
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_TEXT,
                                    g_param_spec_boolean ("show-text",
index 972d99671a9c3dfed316670209167541260d70e4..f4a02994af6cf8537ed7b645c0e3937e96a7963a 100644 (file)
@@ -378,6 +378,13 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
                                                             DEFAULT_SCROLLBAR_SPACING,
                                                             GTK_PARAM_READABLE));
 
+  /**
+   * GtkScrolledWindow:min-content-width:
+   *
+   * The minimum content width of @scrolled_window, or -1 if not set.
+   *
+   * Since: 3.0
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_MIN_CONTENT_WIDTH,
                                    g_param_spec_int ("min-content-width",
@@ -385,6 +392,14 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
                                                      P_("The minimum width that the scrolled window will allocate to its content"),
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READWRITE));
+
+  /**
+   * GtkScrolledWindow:min-content-height:
+   *
+   * The minimum content height of @scrolled_window, or -1 if not set.
+   *
+   * Since: 3.0
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_MIN_CONTENT_HEIGHT,
                                    g_param_spec_int ("min-content-height",